#pragma once
#include <afxwin.h>
#include "CScinEditWnd.h"
#include "SciLexer.h"
#include "Scintilla.h"
#include "CLogRecord.h"

class CLogEditWnd :
    public CScinEditWnd
{
public:

	CLogEditWnd(void);

	~CLogEditWnd(void);
	//void InsertLogRecord(vector<CLogRecord> &vlogRecord);
protected:
	DECLARE_MESSAGE_MAP()
public:
	void ShowLogByVect(vector<CLogRecord>& vLogRecord);
	void InitLogEdit(int nSize, const TCHAR* face);
private:
	void SetDefaultColorFont(int nSize, const TCHAR* face);
	void SetLogEditStyle(void);
};

